package Test1223;

public class Test06 {
    public static void main(String[] args) {

        // 打印1,3,5,7,9
for (int i=1;i<=9;i+=2){
    System.out.println(i);
}
        // 打印10,8,6,4,2
System.out.println();

for (int i=10;i>=2;i-=2){
    System.out.println(i);
}
    }
}
